package javat.util;

import static net.ftng.commons.lang.utils.PrintUtils.println;

import org.junit.Test;

public class StringBufferTest {

    @Test
    public void setLength() {

        StringBuffer stringBuffer = new StringBuffer("aaaaa");
        println(stringBuffer);
        stringBuffer.setLength(0);
        stringBuffer.append("bbbbb");
        println(stringBuffer);
    }
}
